package com.oms.core.model;
/**
 * Query 页面查询参数实体
 * @date Oct 31, 2012 11:12:30 PM
 */

public class Query {

	private String qShopName = "";
	private String qLinkMan = "";
	
	public String getQShopName() {
		return qShopName;
	}
	
	public void setQShopName(String shopName) {
		qShopName = replaceIllegalString(shopName);
	}
	
	public String getQLinkMan() {
		return qLinkMan;
	}
	
	public void setQLinkMan(String linkMan) {
		qLinkMan = replaceIllegalString(linkMan);
	}
	
	private String replaceIllegalString(String str) {
		return str.replaceAll("[\\|\\?\\+\\-\\~\\*\\^\\(\\)\\\\=;><&、，　,\\'？]", " ").trim().replaceAll("( )+", " ");
	}
}